home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / primgad / p3triset.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  63 lines

  1.  
  2. // JavaScript wrapper for p3triset.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_TRISETPROPGADGET_H = 1;
  7. include("real/primgad/p3level.js")
  8.  
  9.  
  10. var R3CLID_TRISETPROPGADGET = 800;
  11.  
  12.  
  13.  
  14.  
  15. // Description: for mapchanges. Sent when a point is selected through the gadget.
  16.  
  17. R3TRISGDM_SELECTPOINT = 800000;
  18.  
  19. function mR3TRISGDM_SELECTPOINT() {
  20.   DoA(this.r3obj, 800000, 0, R3TID_INTEGER, 0);
  21. }
  22.  
  23. // Description: for mapchanges. Send when the position of the selected point is defined.
  24.  
  25. R3TRISGDM_SETPOINT = 800001;
  26.  
  27. function mR3TRISGDM_SETPOINT() {
  28.   DoA(this.r3obj, 800001, 0, R3TID_INTEGER, 0);
  29. }
  30.  
  31. // Description: for mapchanges. Sent when triset phong correction factor is changed.
  32.  
  33. R3TRISGDM_PHONGC = 800002;
  34.  
  35. function mR3TRISGDM_PHONGC() {
  36.   DoA(this.r3obj, 800002, 0, R3TID_INTEGER, 0);
  37. }
  38.  
  39. // Description: for mapchanges. Sent when selection resolution is changed.
  40.  
  41. R3TRISGDM_SELECTRESOLUTION = 800003;
  42.  
  43. function mR3TRISGDM_SELECTRESOLUTION() {
  44.   DoA(this.r3obj, 800003, 0, R3TID_INTEGER, 0);
  45. }
  46.  
  47.  
  48.  
  49. function r3Trisetpropgadget () { 
  50.    this.base = r3God;
  51.    if(arguments.length) {
  52.       this.base(R3CLID_TRISETPROPGADGET, arguments);
  53.    }
  54.    // Methods
  55.    this.SELECTPOINT=mR3TRISGDM_SELECTPOINT;
  56.    this.SETPOINT=mR3TRISGDM_SETPOINT;
  57.    this.PHONGC=mR3TRISGDM_PHONGC;
  58.    this.SELECTRESOLUTION=mR3TRISGDM_SELECTRESOLUTION;
  59.  
  60. }
  61.  
  62. r3Trisetpropgadget.prototype=new r3Levelgadget;
  63. // p3triset.h_H